{if (!empty($art_list))}
{foreach name="art_list" item="v"}
<div class="panel">
    <div class="layui-row">
        <div class="layui-col-space10">
            <div class="layui-col-xs8">
                <h1 class="article-title layui-hide-xs"><a
                        href="{:url('article/artShow',['art_id'=>$v.id])}">{$v.title}</a></h1>
                <div class="layui-row article-info layui-hide-xs">
                    <i class="layui-icon layui-icon-username"><span>{$v.author}</span>&nbsp;&nbsp;</i>
                    <i class="layui-icon layui-icon-date"><span class="article-time"
                                                                data="{$v.add_time*1000}"></span>&nbsp;&nbsp;</i>
                    <i class="layui-icon layui-icon-note"><span>{$v.cat_name}</span></i>
                </div>
                <h4 class="article-title layui-hide-sm"><a
                        href="{:url('article/artShow',['art_id'=>$v.id])}">{$v.title}</a></h4>
                <div class="layui-row phone-article-info layui-hide-sm">
                    <i class="layui-icon layui-icon-username"><span>{$v.author}</span>&nbsp;&nbsp;</i>
                    <i class="layui-icon layui-icon-date"><span class="article-time"
                                                                data="{$v.add_time*1000}"></span>&nbsp;&nbsp;</i>
                    <i class="layui-icon layui-icon-note"><span>{$v.cat_name}</span></i>
                </div>
            </div>
            <div class="layui-col-xs4">
                <img class="art_thu_img" lay-src="{$v.img_url}" width="100%">
            </div>
            <a href="{:url('article/artShow',['art_id'=>$v.id])}" class="layui-btn layui-btn-xs layui-hide-xs read-btn">阅读全文</a>
        </div>
    </div>
</div>
{/foreach}
<input type="hidden" id="count" value="{$count}">
<input type="hidden" id="curr" value="{$page}">
<input type="hidden" id="limit" value="{$list_row}">
<input type="hidden" id="url" value="{$url}">
<input type="hidden" id="is_index" value="{$is_index}">
<div class="layui-row" id="page"></div>
{else/}
<div class="panel">没有文章了</div>
{/if}